projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c325916
)
MIPS: mips32/cache.S: store cache line size in t8 register
author
Gabor Juhos
<
[email protected]
>
Thu, 13 Jun 2013 10:59:35 +0000
(12:59 +0200)
committer
Tom Rini
<
[email protected]
>
Wed, 24 Jul 2013 13:51:07 +0000
(09:51 -0400)
Synchronize the code with mips64/cache.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos <
[email protected]
>
Cc: Daniel Schwierzeck <
[email protected]
>
arch/mips/cpu/mips32/cache.S
patch
|
blob
|
history
diff --git
a/arch/mips/cpu/mips32/cache.S
b/arch/mips/cpu/mips32/cache.S
index fc13d3faab9d2f14da49e3f3dcbb9a7d76e65fd3..d3f156e4822a908738e9e96cdc793a937506b249 100644
(file)
--- a/
arch/mips/cpu/mips32/cache.S
+++ b/
arch/mips/cpu/mips32/cache.S
@@
-128,7
+128,7
@@
NESTED(mips_cache_reset, 0, ra)
move RA, ra
li t2, CONFIG_SYS_ICACHE_SIZE
li t3, CONFIG_SYS_DCACHE_SIZE
- li t
4
, CONFIG_SYS_CACHELINE_SIZE
+ li t
8
, CONFIG_SYS_CACHELINE_SIZE
li v0, MIPS_MAX_CACHE_SIZE
@@
-155,7
+155,7
@@
NESTED(mips_cache_reset, 0, ra)
* Initialize the I-cache first,
*/
move a1, t2
- move a2, t
4
+ move a2, t
8
PTR_LA t7, mips_init_icache
jalr t7
@@
-163,7
+163,7
@@
NESTED(mips_cache_reset, 0, ra)
* then initialize D-cache.
*/
move a1, t3
- move a2, t
4
+ move a2, t
8
PTR_LA t7, mips_init_dcache
jalr t7